package d1130.r211.num16;

import d1127.r211.num16.Student;

import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.TreeSet;

public class Text {
        static List<d1130.r211.num16.Student> list=new ArrayList<>();
        public static void main(String[] args) {
            init();
            System.out.println(list);
            System.out.println("平均分"+Tools.getAvg(list));
            System.out.println("不及格"+Tools.getScore(list));
          
        }
public static void init(){

    list.add(new Student("汪龙", 90, "41926010"));
    list.add(new Student("唐凯悦", 89, "41926081"));
    list.add(new Student("彭真", 60, "41926084"));
    list.add(new Student("闫佳", 90, "41926022"));
    list.add(new Student("李安点", 90, "41926038"));
    list.add(new Student("李泽轩", 70, "41926006"));
    list.add(new Student("遥知含", 40, "41926077"));
    list.add(new Student("韩雪民", 60, "41926015"));
    list.add(new Student("吕锋泽", 80, "41926020"));
    list.add(new Student("立立其", 70, "41926025"));
    list.add(new Student("张小燕", 50, "41926013"));
    list.add(new Student("徐奥", 90, "41926079"));
}


        }







